package com.sky.mapper.common;

import com.sky.pojo.DishFlavor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DishFloavorMapper {
    void deleteByDishId(@Param("ids") List<Long> ids);

    void insertBatch(@Param("flavors") List<DishFlavor> flavors);

    List<DishFlavor> getByDishId(Long id);

}
